<template>
    <van-tabbar v-model="active" route>
        <van-tabbar-item name="home" to="/home" icon="home-o">home</van-tabbar-item>
        <van-tabbar-item name="cart" to="/cart" icon="cart-o">cart</van-tabbar-item>
        <van-tabbar-item name="user" to="/user" icon="user-o">my</van-tabbar-item>
    </van-tabbar>
</template>

<script setup lang="ts">
import { ref } from 'vue';
const active = ref('home');
</script>

<style scoped>

</style>